package com.didispace;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@EnableEurekaServer
@SpringBootApplication
public class Application {

	public static void main(String[] args) {
		new SpringApplicationBuilder(Application.class).web(true).run(args);
	}

}

// http://localhost:1111/
// http://peer2:1112/eureka/

// java -jar eureka-server-1.0.0.jar --spring.profiles.active=peer1
// java -jar eureka-server-1.0.0.jar --spring.profiles.active=peer2
